package tgc.edu.exam.entity;

import java.util.Scanner;
import java.util.UUID;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import org.springframework.data.annotation.CreatedBy;

import tgc.edu.exam.custom.BaseEntity;

/***
 * 课程评价信息
 * @author Administrator
 *
 */
@Entity
public class EvaluationInformation extends BaseEntity<UUID> {

	private TbCurriculum curriculum;
	private String grade; // 评价等级
	private String content; // 课程点评
	private String proposal; // 建议
	private Student students;

	@ManyToOne
	@CreatedBy
	public TbCurriculum getCurriculum() {
		return curriculum;
	}

	public void setCurriculum(TbCurriculum curriculum) {
		this.curriculum = curriculum;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getProposal() {
		return proposal;
	}

	public void setProposal(String proposal) {
		this.proposal = proposal;
	}

	@ManyToOne
	@CreatedBy
	public Student getStudents() {
		return students;
	}

	public void setStudents(Student students) {
		this.students = students;
	}
	
}
